#ifndef EI4_H
#define EI4_H

#include <stdlib.h>
#include <Ogre.h>

// XXX use boost portable path library
#if OGRE_PLATFORM == OGRE_PLATFORM_WINDOWS
#define SLASH '\\'
#else
#define SLASH '/'
#endif

#define MAIN_RESOURCES_DIR "./resources"

namespace Ei {

void eilog(const Ogre::String& fmt, ...);

// XXX use boost for this
inline float randomFloat(float min, float max)
{
        return min + (max-min)*(float)rand()/(float)RAND_MAX;
}

} // namespace Ei

#endif
